﻿using Loaf.Tools;
using Prism.Mvvm;
using System.Windows.Input;

namespace Loaf.Beans
{
    public class AppSetting : BindableBase
    {
        #region 字段
        private double left = 50;
        private double top = 50;
        private double height = 200;
        private double width = 400;
        #endregion

        #region 窗体位置和大小
        public double Left { get => left; set { left = value; RaisePropertyChanged(); } }
        public double Top { get => top; set { top = value; RaisePropertyChanged(); } }
        public double Width { get => width; set { width = value; RaisePropertyChanged(); } }
        public double Height { get => height; set { height = value; RaisePropertyChanged(); } }
        #endregion

        #region 快捷键
        public HotkeyModifiers HotkeyModifiers { get; set; } = HotkeyModifiers.Alt;
        public Key Hotkey { get; set; } = Key.Q;
        #endregion
    }
}
